package com.hdj.chapter14;

/**
 * @author hdj
 * @description
 * @date 2017/12/14.
 */
public class TemplateTest {

    public static void main(String[] args) {
        AbstractCalculator calculator = new Plus();

        int result = calculator.calculate("8+8","\\+");
        System.out.println(result);
    }
}
